#-------------------------------------------------
#
# Project created by QtCreator 2013-08-09T17:16:54
#
#-------------------------------------------------


QT       += core serialport
QT       -= gui app_bundle

CONFIG   += console
CONFIG   += c++11

TEMPLATE = app
DESTDIR  = ../bin

UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET = modemd

    OBJECTS_DIR = build/debug
    MOC_DIR     = build/debug

}
else {
    TARGET = modem

    OBJECTS_DIR = build/release
    MOC_DIR     = build/release
}


SOURCES += src/main.cpp \
    src/maintestobject.cpp


INCLUDEPATH +=   ../../gsm/src ../../gsmcomm/src  ../utils
LIBS        += -L../../sleeper/lib

CONFIG(debug, debug|release) {
LIBS += -lgsmd
LIBS += -lmoleutilsd
}
else {
LIBS += -lgsm
LIBS += -lmoleutils
}

linux{
QMAKE_LFLAGS += -Wl,-rpath,.
QMAKE_LFLAGS += -Wl,-rpath,'../../sleeper/lib'
}

HEADERS += \
    src/maintestobject.hpp

